

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Playwrite+NZ+Basic:wght@100..400&display=swap');

:root {
	--base-color: #ffffff;
	--text-color: #000000;
	--primary-color: #ffc06e;
	--secondary-color: #8D8DFF;
	--color-1: #F9F6F3;
	--color-2: #F3F7F9;
	--color-3: #F6F3F9;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box; 
}

html{
	font-family: Poppins, 'Segoe UI', Tahoma; 
	color: var(--text-color); 
}

body{
	padding: 1em;
	background-color: var(--base-color);
}

h2, h3 {
	font-family: Merriweather; 
}


header, section{
	margin: 2em auto;
	width: min(75em, 100%); 
	background-color: var(--color-1);
	padding: min(2em, 15%);
	border-radius: 1em;
}

.flex-container{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap; 
	gap: 3em; 
}

header img{
	max-width: 100%;
	border-radius: 1em; 
}

.text-container{
	flex: 0 1 34em;

}

h1 {
	font-size: 2.5rem;
}

.text-container p {
	margin: .75em 0 1em 0; 
	font-size: 1.25rem; 

}

.cta-button {
	display: inline-block;
	text-decoration: none; 
	color: white;
	background-color: var(--primary-color); 
	padding: .75em 1.25em;
	border-radius: .5em;
	font-weight: 600;
}

.secondary {
	background-color: var(--secondary-color);
}


section{
	padding: 3em min(2em, 15%); 
	background-color: var(--color-2);
	/*text-align: center;*/ 
}

h2 {
	font-size: 2rem; 
}

section p{
	margin-top: 1em; 
	font-size: 1.25rem; 
}


footer{
	padding-bottom: 1.5em;
	text-align: center;

}

footer a {
	margin: 0 70px;
	text-decoration: none;
	color: var(--text-color);

}

footer a:hover {
	text-decoration: underline;
}


@media(max-width: 988px){
	header{
	text-align: center;
	}

	header .text-container {
	padding-top: 0;
	}
}

@media(max-width: 640px){
	nav li{
	display: flex; 
	}

	header {
	margin-top: 0;
	}

	.cta-button{
	margin-top: .5em;
	width: 100%;
	}

	.text-container p{
	font-size: 1rem;
	}

	h2{
	font-size: 1.5rem;
	}

	header img{
	height: 100px;
	width: 800px;
	}

	footer a {
	display: flex;
	}

}


